Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mongos): bubble up close events after the first one #1713

Merged
merged 1 commit into from
May 31, 2018
Merged

fix(mongos): bubble up close events after the first one #1713

merged 1 commit into from
May 31, 2018

Conversation

vkarpov15
Copy link
Contributor

Fix Automattic/mongoose#6249

In addition to the changes in #1685, I put together a test that fails when mongos.js is unchanged. Should make it clear why this change is necessary.

As far as mongoose is concerned, the 'close' event is what matters, so I'd be open to leaving the 'timeout' and 'error' events as once() if that helps address any concerns.

@mbroadst mbroadst merged commit 597931f into mongodb:3.0 May 31, 2018
@mbroadst
Copy link
Member

thanks val!

@vkarpov15
Copy link
Contributor Author

Thanks Matt! Any ETA on 3.0.9?

@mbroadst
Copy link
Member

Just need to finish review on some current changes, and we can publish it by tomorrow at latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants